package logger2.filter.factories;

import logger2.environment.Environment;
import logger2.filter.AcceptAllFilter;
import logger2.filter.Filter;

public class AcceptAllFilterFactory implements FilterFactory {
	Environment logEnvironment;

	public AcceptAllFilterFactory(Environment logEnvironment) {
		super();
		this.logEnvironment = logEnvironment;
	}

	@Override
	public Filter getNewFilter() {
		return new AcceptAllFilter(logEnvironment);
	}

	@Override
	public String toString() {
		return "AcceptAllFilter";
	}



}
